package cn.shadowsouls.system.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登陆时提交的数据
 *
 * @author shadowsouls
 * @version 1.0
 */
@ApiModel(value = "登录数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginData {
    @ApiModelProperty(value = "用户名", required = true, example = "shadowsouls")
    private String username;
    @ApiModelProperty(value = "密码", required = true, example = "1234")
    private String password;
}
